<!--
 * @PageName: @首页
 * @Description: 
 * @FilePath: /glm-mes-pc/src/views/index.vue
-->
<template>
	<div class="home-container">
		<el-button @click="navigateToDemo">跳转示例</el-button>
	</div>
</template>

<script setup name="Index">
const router = useRouter()
import { checkRole } from '@/utils/permission.js'
const navigateToDemo = () => {
	router.push({ name: 'Demo' })
}
</script>

<style scoped lang="scss">
.home-container {
	margin: 16px 16px 0;
	display: flex;
	.left-container {
		width: 60%;
		.total-container {
			display: flex;
		}
	}
	.right-container {
		width: 40%;
		margin-left: 16px;
	}
}
</style>
